home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01b.txt / 000111_icon-group-sender_Mon Jul 30 08:01:37 2001.msg < prev    next >
Internet Message Format  |  2002-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f6UF1Ws15473
  4.     for icon-group-addresses; Mon, 30 Jul 2001 08:01:32 -0700 (MST)
  5. Message-Id: <200107301501.f6UF1Ws15473@baskerville.CS.Arizona.EDU>
  6. From: Steve Wampler <swampler@noao.edu>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Speed vs Space
  9. Date: Mon, 30 Jul 2001 06:57:46 -0700
  10. X-Complaints-To: abuse@noao.edu
  11. To: Steve Graham <js.graham@home.com>
  12. X-Accept-Language: en
  13. To: icon-group@cs.arizona.edu
  14. Errors-To: icon-group-errors@cs.arizona.edu
  15. Status: RO
  16. Content-Length: 518
  17.  
  18. Steve Graham wrote:
  19. > I have an application where I need to reset a table.  The only way
  20. > I know is to redefine it, e.g. B := table().  Does this eliminate the
  21. > previous reference?  Is there a faster way and/or a better way in terms
  22. > of memory usage?
  23.  
  24. That should work fine.  If B previously held a table and there are no
  25. other references to that table (you haven't done A := B, for example),
  26. then the GC will reclaim the storage.
  27.  
  28. --
  29. Steve Wampler-  SOLIS Project, National Solar Observatory
  30. swampler@noao.edu
  31.